package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IMemberReservationService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Slf4j
@Component("reservationJob")
public class ReservationJob {

    @Autowired
    private IMemberReservationService service;

    public void updateReservationStatus() {
        service.updateReservationStatus();
        log.info("预约定时任务执行成功~~~~~~~~~");
    }
}
